<template>
    <div>
        <van-grid :border="true" :column-num="2" gutter="10">
      <van-grid-item v-for="(item,index) in user_list" :key="index" @click="$router.push(`/app/xq/${item.id}`)">
           <van-image :src="item.pic" lazy-load />
           <p>{{item.name}}</p>
           <p>￥{{item.originalPrice}}<span><van-icon name="cart-o" color="red" @click.stop="$emit('add',item)" /></span></p>
      </van-grid-item>
    </van-grid>
    </div>
</template>
<script>
export default {
    props:['user_list'],
    data() {
        return {
            
        }
    },
}
</script>